<ion-modal-view >
  <ion-header-bar class="bar bar-royal" text-filter>
    <button class="button button-icon icon ion-android-add"></button>
    <h1 class="title">选择供应商</h1>
    <div class="buttons">
      <button class="button button-icon ion-android-search" ng-click="toggleFilter()"></button>
      <button class="button button-icon ion-ios-close-empty" ng-click="supplierModal.hide();"></button>
    </div>
  </ion-header-bar>
  
  <ion-content class="has-header">
    <ion-list>
      <ion-item ng-repeat="supplier in suppliers| filter:filter track by $index" ng-click="selectSupplier(supplier)">
        <div>{{supplier.company}}</div>
      </ion-item>

      <ion-item class="button button-full button-clear button-positive" ng-click="getMore();" ng-show="loadMoreBtn">点击加载更多</ion-item>
    </ion-list>
  </ion-content>
</ion-modal-view>